<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript">  
    var time = 4;  
    function autoTime() {  
      	window.setTimeout('autoTime()', 1000);  
        time = time - 1;  
        document.getElementById("layer").innerHTML = time;  
    }  
</script>  
</head>
<body onload="autoTime()">
	注册成功!<br>
	<span id="layer">3</span>秒之后跳转到登录界面...
	<%out.print("<meta http-equiv='refresh' content='2;Login.jsp'>"); %>
</body>
</html>